<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      padding: 0;
      margin: 0;
    }

    div {
      height: 200vh;
      background-color: rgba(17, 119, 255, 0.2);
    }
  </style>
</head>

<body>
  <div></div>
  <a href="#top">回到页面顶部</a>
  <a href="#">回到页面顶部</a>
</body>

</html>